# eric7.Plugins.VcsPlugins.vcsMercurial.UncommitExtension.HgUncommitDialog

Module implementing a dialog to enter the uncommit data.

### Global Attributes

None

### Classes

HgUncommitDialog | Class implementing a dialog to enter the uncommit data.

### Functions

None

## HgUncommitDialog

Class implementing a dialog to enter the uncommit data.

### Derived from

QDialog, Ui_HgUncommitDialog

### Class Attributes

None

### Class Methods

None

### Methods

HgUncommitDialog | Constructor
getUncommitData | Public method to retrieve the entered uncommit data.
on_recentComboBox_activated | Private slot to select a commit message from recent ones.

### Static Methods

None

#### HgUncommitDialog (Constructor)

HgUncommitDialog(vcs, parent=None)

Constructor

vcs (Hg)
  reference to the version control object
parent (QWidget (optional))
  reference to the parent widget (defaults to None)

#### HgUncommitDialog.getUncommitData

getUncommitData()

Public method to retrieve the entered uncommit data.

Return:
  tuple containing the commit message, a flag indicating to allow an empty commit, a flag indicating to allow an uncommit with outstanding changes, name of the author and date/time of the commit

Return Type:
  tuple of (str, bool, bool, str, str)

#### HgUncommitDialog.on_recentComboBox_activated

on_recentComboBox_activated(index)

Private slot to select a commit message from recent ones.

index (int)
  index of the selected entry

Up